package com.tjsinfo.tjsoa.addresslist.bo;

import java.util.List;

import com.tjsinfo.tjsoa.addresslist.vo.AddressListUser;
import com.tjsinfo.tjsoa.system.vo.TSystemUser;

public interface IAddressListUserBo {

	public abstract String saveAddressListUser(AddressListUser user);
	
	public abstract void updateAddressListUser(AddressListUser user);
	
	public abstract AddressListUser getAddresssListUserById(String id);
	
	public abstract List getAddresssListUserByUserId(Integer id);
	
	public abstract List getAddresssListUserByUserIdState(Integer id);
	
	public abstract int getAddresssListUserPage(String id,String group_id);
	
	public abstract List selectListUserName(String name,Short type,String user_id);
	
	public abstract List selectHighListUser(String lie,String value,Short type,String user_id);
	
	public abstract void MoveListUser(String copyid,String copygroup);
	
	public abstract void CopyListUser(String copyid,String copygroup);
	
	public abstract void updatesUserId(String mubiao_userIds,String tongbuUserid);
	
	public abstract void updates(String id, String userName,String mobile,String email,String company,String sector,String duty,String companyPhone,String companyFax,String companyAddress,String companyPostal,String homeAddress,String homePostal,String homePhone,String birthday,String qq,String msn,String blog,String remarks);
	
	public abstract void updatesTongBu(String id,String userName,String mobile,String email,String company,String sector,String duty,String companyPhone,String companyFax,String companyAddress,String companyPostal,String homeAddress,String homePostal,String homePhone,String birthday,String qq,String msn,String blog,String remarks);
	
	public abstract String getMaxUserSort(String groupid);
	
	public abstract void sortYuanGtXian(int yuan,int xian,String group_id);
	
	public abstract void sortXianGtYuan(int yuan,int xian,String group_id);
	
	public abstract int deleteAddressListUser(String id,int page,String moduleType);
	
	public abstract void delete(String id);
	
	public abstract List getAddressListUserTongBu(TSystemUser tjsuser_id,Integer user_id);
}